<template>
  <div class="child">
    <h2>这是后代组件</h2>
    <Dialog/>
  </div>
</template>

<script>

import Dialog from "@/components/Dialog";

export default {
  name: "Child",
  components: {Dialog}

}
</script>

<style scoped>
.child {
  background-color: grey;
}
</style>